package io.aicn.lowcode.service;

import io.aicn.lowcode.dto.UserCreate;
import io.aicn.lowcode.dto.UserUpdate;
import io.aicn.lowcode.entity.User;

import java.util.List;

public interface IUserService {
    List<User> searchUsers(String name, String email, Integer minAge, Integer maxAge);
    User createUser(UserCreate userCreate);
    User updateUser(Long id, UserUpdate userUpdate);
    boolean deleteUser(Long id);
    List<User> getAllUsers();
    User getById(Long id);
}